package com.zyd.shiro.persistence.beans;

import com.zyd.shiro.framework.object.AbstractDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Transient;
import java.util.Date;

/**
 *
 * @author GaoMingzhen
 * @create 2022/11/30
 **/
@Data
@EqualsAndHashCode(callSuper = false)
public class Major extends AbstractDO {
    private String name;
    private Integer schoolId;
    private String introduce;
    private Date establishmentTime;

    @Transient
    private String schoolName;
    @Transient
    private String date;
}
